package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TicketReceipt;

/**
 * 收据信息Service接口
 *
 * @author ruoyi
 * @date 2024-07-15
 */
public interface ITicketReceiptService
{
    /**
     * 查询收据信息
     *
     * @param receiptNo 收据信息主键
     * @return 收据信息
     */
    public TicketReceipt selectTicketReceiptByReceiptNo(String receiptNo);

    /**
     * 查询收据信息列表
     *
     * @param ticketReceipt 收据信息
     * @return 收据信息集合
     */
    public List<TicketReceipt> selectTicketReceiptList(TicketReceipt ticketReceipt);

    /**
     * 新增收据信息
     *
     * @param ticketReceipt 收据信息
     * @return 结果
     */
    public int insertTicketReceipt(TicketReceipt ticketReceipt);

    /**
     * 修改收据信息
     *
     * @param ticketReceipt 收据信息
     * @return 结果
     */
    public int updateTicketReceipt(TicketReceipt ticketReceipt);

    /**
     * 批量删除收据信息
     *
     * @param receiptNos 需要删除的收据信息主键集合
     * @return 结果
     */
    public int deleteTicketReceiptByReceiptNos(String[] receiptNos);

    /**
     * 删除收据信息信息
     *
     * @param receiptNo 收据信息主键
     * @return 结果
     */
    public int deleteTicketReceiptByReceiptNo(String receiptNo);
}
